<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2020/11/29
  Time: 22:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/son/son4 " method="post">
    <%--在这里实现集合值的注入--%>
        <input type="text" name="list[0].name"> <br>
        <input type="text" name="list[0].age"> <br>
        <input type="text" name="list[1].name"> <br>
        <input type="text" name="list[1].age"> <br>
        <button type="submit">确定</button>
    </form>

</body>
</html>
